package com.qfedu.zf.app.controller;


import com.qfedu.zf.app.service.CityFeign;
import com.qfedu.zf.common.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * --- 天道酬勤 ---
 *
 * @author FanShuhu
 * @date 2024/6/18
 * @desc -- 代码敲烂 月薪过万--
 */
@RestController
@RequestMapping("/api/city")
public class CityController {

    @Autowired
    CityFeign cityFeign;

    @RequestMapping("/list")
    public R selectAll(@RequestParam Map<String,Object> map) {
        return cityFeign.selectAll(map);
    }
}
